<!DOCTYPE html>
<html lang="">


<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  <title>
    king019
  </title>
  <meta name="description" content>
  
  <meta name="author" content="king019">

  <meta http-equiv="Cache-Control" content="no-transform">
  <meta http-equiv="Cache-Control" content="no-siteapp">
  <meta name="theme-color" content="#1e2327">
  <link rel="apple-touch-icon" href="https://github.githubassets.com/apple-touch-icon.png">
  <link rel="apple-touch-icon" sizes="180x180" href="https://github.githubassets.com/apple-touch-icon-180x180.png">

  <link rel="icon" type="image/x-icon" href="https://github.githubassets.com/favicon.ico">
  <link rel="stylesheet" href="/css/main.css">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
  

  

  <script src="//cdnjs.cloudflare.com/ajax/libs/vue/1.0.25-csp/vue.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
</head>

<body id="replica-app">

<nav class="navbar-wrapper">
  <div class="navbar">
    <div class="container clearfix">
      <a href="/" class="navbar-logo"><i class="fa fa-github"></i></a>

      <div class="navbar-search float-left desktop-only">
        <div class="navbar-search-form">
          <label for="gsc-i-id1">This website</label>
          <div id="google-search">
            <gcse:search></gcse:search>
          </div>
        </div>
      </div>

      <ul class="navbar-nav float-left">
        
        <li><a href="/archives">Archives</a></li>
        
        
        <li><a href="/categories">Categories</a></li>
        
        
        <li><a href="/tags">Tags</a></li>
        
        
        <li class="desktop-only"><a href="/atom.xml" target="_blank">RSS</a></li>
        
      </ul>

      <ul class="navbar-nav user-nav float-right desktop-only">
        <li class="user-nav-notification">
          <a><span class="user-nav-unread"></span><i class="fa fa-bell"></i></a>
        </li>
        <li>
          <a><i class="fa fa-plus"></i> <i class="fa fa-caret-down"></i></a>
        </li>
        <li class="user-nav-logo">
          <a><img src="/assets/head.jpg"> <i class="fa fa-caret-down"></i></i></a>
        </li>
      </ul>
    </div>
  </div>
</nav>

<div class="main-container">
  

<div class="container-lg">
  

<div class="blog-intro">
  <div class="blog-intro-user">
    <img class="avatar" src="/assets/head.jpg">
    <div class="user-name">
      <div class="blog-title">king019</div>
      <div class="blog-author">king019</div>
        <ul class="user-detail mobile-only">
    
    <li>
      <i class="fa fa-map-marker"></i>
      China
    </li>
    
    <li>
      <i class="fa fa-envelope-o"></i>
      <a href="mailto:king019@aliyun.com">king019@aliyun.com</a>
    </li>
    
    <li>
      <i class="fa fa-link"></i>
      <a href="https://king019.github.io">https://king019.github.io</a>
    </li>
  </ul>
    </div>
    <div class="blog-description">
      
    </div>
  </div>

  <ul class="user-detail desktop-only">
    
    <li>
      <i class="fa fa-map-marker"></i>
      China
    </li>
    
    <li>
      <i class="fa fa-envelope-o"></i>
      <a href="mailto:king019@aliyun.com">king019@aliyun.com</a>
    </li>
    
    <li>
      <i class="fa fa-link"></i>
      <a href="https://king019.github.io">https://king019.github.io</a>
    </li>
  </ul>

  <div class="social-media desktop-only">
    <h4>Social Media</h4>
    <ul>
      
      <li class="social-media-item"><a href="https://github.com/king019" target="_blank"><i class="fa fa-github"></i></a></li>
      
    </ul>
  </div>
</div>


  <div class="blog-detail">
    
<nav class="blog-detail-nav desktop-only">
  <ul class="clearfix">
    <li class="">
      <a href="/">Overview</a></li>
    <li class="selected">
      <a href="/archives">Posts <span class="counter">67</span></a>
    </li>
    <li class="">
      <a href="/categories">Categories <span
                class="counter">20</span></a></li>
    <li class="">
      <a href="/tags">Tags <span class="counter">53</span></a></li>
  </ul>
</nav>

    <div class="body-secondary">
      <ul class="archive-list">
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/java/jvm/lock/">lock sychronized</a></h2>
          <p>
              lock区别  
 
 
 
 名称 
 相同点 
 不通点 
 
 
  
 lock 
  
 需要手工释放锁/可中断/公平锁/condition/等待时间 
 
 
 sychronized 
  
 修饰代码块/方法/类 
 
  
 一.什么是sychronized 
 sychron...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/jvm/">jvm</a></li>
            
            <li class="tag-list-item"><a href="/tags/lock/">lock</a></li>
            
            <li class="tag-list-item"><a href="/tags/sychronized/">sychronized</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/java/"><i class="fa fa-folder-open"></i> java</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 3 </span>
            <span>Published {{moment(1615129899326).fromNow()}}</span>
          </div>
        </li>
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/java/jvm/oom/">java oom</a></h2>
          <p>
              oom  
 什么是java OOM？如何分析及解决oom问题？ 最近查找了很多关于OOM，甚至于Java内存管理以及JVM的相关资料，发现这方面的东西太多了，竟有一种眼花缭乱的感觉，要想了解全面的话，恐非一篇文章能说清的，因此按照自己的理解整理了一篇，剩下的还需要继续学习。 
 1）什么是OO...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/jvm/">jvm</a></li>
            
            <li class="tag-list-item"><a href="/tags/oom/">oom</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/java/"><i class="fa fa-folder-open"></i> java</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 2 </span>
            <span>Published {{moment(1615129899326).fromNow()}}</span>
          </div>
        </li>
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/java/jvm/oom_over/">java oom over</a></h2>
          <p>
              https://blog.csdn.net/dakaniu/article/details/80751456  
  https://blog.csdn.net/u012516166/article/details/77014910  
  https://www.jianshu.com/p/9...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/jvm/">jvm</a></li>
            
            <li class="tag-list-item"><a href="/tags/oom/">oom</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/java/"><i class="fa fa-folder-open"></i> java</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 2 </span>
            <span>Published {{moment(1615129899326).fromNow()}}</span>
          </div>
        </li>
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/java/jvm/oom_threadlocal/">ThreadLocal深入理解与内存泄露分析</a></h2>
          <p>
              https://blog.csdn.net/sunxianghuang/article/details/51965621  
 ThreadLocal 当使用ThreadLocal维护变量时，ThreadLocal为每个使用该变量的线程提供独立的变量副本，所以每一个线程都可以独立地改变自己的副本...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/jvm/">jvm</a></li>
            
            <li class="tag-list-item"><a href="/tags/oom/">oom</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/java/"><i class="fa fa-folder-open"></i> java</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 2 </span>
            <span>Published {{moment(1615129899326).fromNow()}}</span>
          </div>
        </li>
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/java/cmd/">jvm cmd</a></h2>
          <p>
              Java Platform, Standard Edition Tools Reference  
   jps    jstat  class: Displays statistics about the behavior of the class loader. 
 compiler: Di...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/jvmCmd/">jvmCmd</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/java/"><i class="fa fa-folder-open"></i> java</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 1 </span>
            <span>Published {{moment(1615129899322).fromNow()}}</span>
          </div>
        </li>
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/java/collection/">collection</a></h2>
          <p>
             set 
 
 
 
 类 
 LinkedHashSet 
 HashSet 
 TreeSet 
 ConcurrentSkipListSet 
 CopyOnWriteArraySet 
 
 
  
 构造参数 
 16,0.75 
 16,0.75 
  
 ddd 
 eee 
 
 ...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/collection/">collection</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/java/"><i class="fa fa-folder-open"></i> java</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 1 </span>
            <span>Published {{moment(1615129899322).fromNow()}}</span>
          </div>
        </li>
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/java/jvm/">jvm</a></h2>
          <p>
             jvm 调试 
 -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=端口号,server=y,suspend=n 
  请问JVM远程调试的配置中为什么要配置-Djava.compiler=NO...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/jvm/">jvm</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/java/"><i class="fa fa-folder-open"></i> java</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 1 </span>
            <span>Published {{moment(1615129899322).fromNow()}}</span>
          </div>
        </li>
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/java/jvm/cms_log/">cms_log</a></h2>
          <p>
              http://www.cnblogs.com/zhangxiaoguang/p/5792468.html  
 JVM调优——之CMS GC日志分析        最近在学习JVM和GC调优,今天总结下CMS的一些特点和要点,让我们先简单的看下整个堆年轻代和年老代的垃圾收集器组合（以下配合jav...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/jvmCmd/">jvmCmd</a></li>
            
            <li class="tag-list-item"><a href="/tags/cms-log/">cms_log</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/java/"><i class="fa fa-folder-open"></i> java</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 2 </span>
            <span>Published {{moment(1615129899322).fromNow()}}</span>
          </div>
        </li>
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/framework/框架/">整体框架</a></h2>
          <p>
             jvm 
 集合 
 并发 
 spring 
 spring boot 
 spring cloud(基本组件(注册中心,hystrix(sentinel),gateway,等等)) 
 db(mybatis,redis) 
 mq(rocketmq,kafka) 
 rpc(feign,dub...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/整体框架/">整体框架</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/框架/"><i class="fa fa-folder-open"></i> 框架</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 1 </span>
            <span>Published {{moment(1615129899318).fromNow()}}</span>
          </div>
        </li>
        
        <li class="archive-list-item">
          <h2><a href="/2021/03/07/framework/java/内存/2_jvm垃圾回收/">jvm垃圾回收</a></h2>
          <p>
               判断对象死亡算法       1   2   3   4   5   6   7   8   9   10   11   12   13       1,引用计数      每引用一次计数器+1   2,可达行分析算法      gc roots--&amp;gt;连接的对象         gc r...
          </p>
          <ul class="tag-list clearfix">
            
            <li class="tag-list-item"><a href="/tags/jvm垃圾回收/">jvm垃圾回收</a></li>
            
          </ul>
          <div class="post-info">
            <span>
              
              <a class="category-link" href="/categories/框架/"><i class="fa fa-folder-open"></i> 框架</a>
              
            </span>
            <span><i class="fa fa-tag"></i> 1 </span>
            <span>Published {{moment(1615129899318).fromNow()}}</span>
          </div>
        </li>
        
      </ul>
    </div>
  </div>
</div>

</div>

<div class="footer-wrapper container">
  <footer class="footer clearfix">
    <div class="clearfix">
    <a href="https://king019.github.io" class="footer-logo">
      <i class="fa fa-github"></i>
    </a>
    <ul class="footer-social-link">
      <li>© 2019 king019</li>
      <li><a href="https://king019.github.io">Home</a></li>
      
      <li><a href="https://github.com/king019">Github</a></li>
      
    </ul>
    <div class="footer-theme-info">
      Theme <a href="//github.com/sabrinaluo/hexo-theme-replica">Replica</a>
      by <a href="//github.com/sabrinaluo">Hiitea</a> ❤ Powered by Hexo
    </div>
    </div>
    
  </footer>
</div>




<script src="/js/main.js"></script>

</body>
</html>
